<?php
defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'basic';
$return=array();
/*******basic*******/
if($_RQ['op']=='basic'){
	if($_RQ['postdata']){
		$postdata=get_postdata();
		$this->plugin_setting('basic',$postdata);
		exi('设置成功');
	}
	$return['item']=$this->plugin_setting('basic');
	$htmls=array(
		'type'=>'edit',
		'desc'=>'视频问诊',
		'edit'=>array(
			array('type'=>'switch','name'=>'videocall_open','title'=>'是否启用视频问诊？'),
			array('type'=>'switch','name'=>'videocall_cun','title'=>'是否启用视频问诊实时录制存储？'),
			array('type'=>'unitstring','unit'=>'分钟','title'=>'每人每号视频问诊时长','name'=>'videocall_time','help'=>'默认是：15分钟'),
		),
	);
	$return['htmls']=$htmls;
	exi($return);
}
/*******basic*******/
/*******op*******/
